#include<bits/stdc++.h>

using namespace std;

int length(int n) { return n < 10 ? 1 : length(n / 10) + 1; }

int main() {
    cout << length(1234) << endl;

    return 0;
}
